public class Test2{
    public static void main(String[] args) {
        String[] stutends = {"张三","李四"};
        int[] mathScore = {88,93};
        int[] englishScore = new int[2];
        int[] languageScore = new int[2];
        int[] totalScore = new int[2];
        englishScore[0] = 98;
        englishScore[1] = 72;
        languageScore[1] = 88;
        languageScore[1] = 99;
        totalScore[0] = mathScore[0] + englishScore[0] + languageScore[0];
        totalScore[1] = mathScore[1] + englishScore[1] + languageScore[1];
        System.out.println(stutends[0] + "总成绩为:" + totalScore[0]);
        System.out.println(stutends[1] + "总成绩为:" + totalScore[1]);
    }
}